#%Module -*- tcl -*-

conflict        riscv_toolchain/nuclei-gcc
conflict        riscv_toolchain/nuclei-llvm
conflict        riscv_toolchain/gem5

set             tool_home        /opt/tools/riscv-toolchain/vector
setenv          RISCV            $tool_home
setenv          RISCV_PATH       $tool_home
setenv          PKG_CONFIG_PATH  $tool_home/lib/pkgconfig

prepend-path    PATH             $tool_home/bin
prepend-path    LIBRARY_PATH     $tool_home/lib
prepend-path    LD_LIBRARY_PATH  $tool_home/lib
prepend-path    LD_INCLUDE_PATH  $tool_home/include
prepend-path    MANPATH          $tool_home/share/man

append-path     PKG_CONFIG_PATH  $::env(PATH)
